class ChangeArticlesCategoryId < ActiveRecord::Migration
  def self.up
		change_column :articles, :category_id, :integer, :default=>0
  end

  def self.down
		change_column :articles, :category_id, :integer, :null=>false
  end
end
